import QtQuick 2.0
import QtQuick.Controls 1.1
import QtQuick.Controls.Styles 1.1

Button{
    id:button
    width:45
    height:45
    property var buttonKey
    style: ButtonStyle{
        background:Rectangle{
            color: pressed ? "red" : "black"
            border.color: "white"
            border.width: 2
        }
        label: Text{
            text:button.text
            color: pressed ? "black" : "white"
            font.pointSize: 16
            verticalAlignment: Text.AlignVCenter
            horizontalAlignment: Text.AlignHCenter
        }
    }
}
